View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001838 | T99X171.00 SKB Eagle | SW Issue | public | 2023-11-22 19:01 | 2024-03-07 08:25 |
| Reporter | (ALTech) Younkwang Jung | Assigned To | (ALTech) JunGyu Kim | Due Date | 2023-11-23 19:59 |
| Priority | high | Severity | s4-minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Summary | 0001838: [Smart3][UI537] Request confirmation of Graphics's Pss is 0 | ||||
| Description | Hi Jason This is a UI537 BMT issue https://jira.skbroadband.com/browse/BPM-25650 The Pss of Graphics is being observed as 0 when the command below is entered dumpsys meminfo com.skb.tv This status is not seen in Amlogic reference(OS12) / INTEK Smart3(OS12)/INNOPIA Smart3(OS12) This is observed only on FXN Smart3 OS12. After checking all the FWs, we need to focus on the FWs below 15.534.202 BFX-AT100_5.3.4_S_DEV_2022-1215-225104.xml ( k000c-534r202-20221216.PNG , Graphics: 122672 ) http://altserver01.duckdns.org/release_by_fxn/smart3/old_fw/UI537/1216_534r202_AT100/ 15.534.204 BFX-AT100_5.3.4_S_DEV_2022-1222-143441.xml ( k000c-534r204-20221222.PNG , Graphics: 0 ) http://altserver01.duckdns.org/release_by_fxn/smart3/old_fw/UI537/1222_534r204_AT100/ But I haven't found what kind of patch is causing it yet Please check which patche in the two FWs cause this phenomenon Thank you YK.Jung | ||||
| Tags | No tags attached. | ||||
| Attach Tags | |||||
| User List |
(ALTech) JunGyu Kim , (ALTech) SY Yoon , (SW) Jacky Chiang , (SW) Sam Yang |
|---|
|
|
|
|
|
Hi Jason It was changed in the early stages of OS12 development. Please check it. Thank you YK.Jung |
|
|
Hi Sam It seems to be caused by the build environment. Please check the built FW and logs http://altserver01.duckdns.org/release_by_ALT/mantis-1838/k000c-537r72_nD-20231123-BFX-AT100/ - The graphics value exists when building here - I built it with the command below after clean all ( ./release.sh | tee build.log ) Thank you YK.Jung |
|
|
Hi Sam is there any update ? Thank you YK.Jung |
|
|
Hi Sam I have a meeting. So please update the progress by 2 p.m (KT) Thank you YK.Jung |
|
|
Hi Younkwang, I try to test a FW with clean build: [ro.system_ext.build.version.incremental]: [15.537.73-20231124] And there is value of "Graphics": Maybe the issue is related to the build code enviroment, and I still figure it out. Tnanks~ Sam |
|
|
Hi Sam I'll update you on AML's analysis results The opinion is that the value of CONFIG_DEBUG_FS is not included when FXN builds ======== This is kernel build option at release.sh(OS12) =========== 96 function mkkernel() { 97 rm -rf out/android-4.9/vendor_lib/modules/ 98 ./device/amlogic/common/kernelbuild/mk franklin -v 4.9 --nonOEM -t $FX_VARIANT 99 } ==================================================== =========================================================================================================== 1. ./device/amlogic/common/kernelbuild/mk franklin -v 4.9 --nonOEM -t user common$ git diff diff --git a/arch/arm64/configs/meson64_defconfig b/arch/arm64/configs/meson64_defconfig index cb77e543ee8f..e21a8f3f48f8 100644 --- a/arch/arm64/configs/meson64_defconfig +++ b/arch/arm64/configs/meson64_defconfig @@ -656,7 +656,6 @@ CONFIG_NLS_CODEPAGE_437=y CONFIG_NLS_ISO8859_1=y CONFIG_PRINTK_TIME=y CONFIG_DEBUG_INFO=y -CONFIG_DEBUG_FS=y CONFIG_MAGIC_SYSRQ=y CONFIG_LOCKUP_DETECTOR=y # CONFIG_DETECT_HUNG_TASK is not set ========================================================================== This is the build method provided by SoC releaseNote ./mk franklin -v 4.9 -t user Please check it Thank you YK.Jung |
|
|
Hi Younkwang, I tried two userdebug FW(one with CONFIG_DEBUG_FS=y, and one without it): The FW with CONFIG_DEBUG_FS=y doesn't have this issue. But it is AML to remove this build config: Author: Xindong Xu <xindong.xu@amlogic.com> AuthorDate: Fri Jan 14 09:26:27 2022 +0800 Commit: Luan Yuan <luan.yuan@amlogic.com> CommitDate: Wed Feb 23 19:15:00 2022 +0800 franklin: fix S + Q vendor compile error [1/16] PD#SWPL-69440 Problem: S + Q vendor compile error Solution: fix S + Q vendor compile error Verify: franklin Change-Id: I7c123024d84fb18b25739ba7ddd9429f0b652689 Signed-off-by: Xindong Xu <xindong.xu@amlogic.com> @device/amlogic/common project kernelbuild/build_kernel_4.9.sh file ... + sed -i '/CONFIG_DEBUG_FS=y/d' ${KERNEL_DIR}/arch/arm64/configs/meson64_defconfig ... And this modification is for CTS from AML's before comment. Please check with them. If you need CONFIG_DEBUG_FS for userdebug FW, I think I can let it work when build userdebug FW. Thanks~ Sam |
|
|
Hi Sam I received feedback from SoC(Aml). ============================================================================================= Below command is described in the release notes, and other manufacturers are following the release notes. ./mk franklin -v 4.9 -t user But FXN's script does not use is "./mk franklin -v 4.9 -t user" As a result, it is affected by the patch you mentioned. Note : If you use "./mk franklin -v 4.9 -t user" with CONFIG_DEBUG_FS already removed, it will remain removed. You must restore the modified part of the common directory and build. ============================================================================================ please check it again Thank you YK.Jung |
|
|
Hi Younkwang, OK, we will fix it by AML's comment and test. Thanks~ Sam |
|
|
Hi Sam Amlogic's feedback is incorrect. I will let you know after AML checks it again. And this issue seems to be determined by the ND/SD/SU build order whether CONFIG_DEBUG_FS config is included or not. I think it's maintained by the existing configuration We can't build SU/SD, so please check if this assumption is correct - clear all , SU build -> ..SD / ND build : not include CONFIG_DEBUG_FS - clear all , SD/ND build -> SU build : include CONFIG_DEBUG_FS Please check it Thank you YK.Jung |
|
|
Hi Younkwang, - clear all , SU build -> ..SD / ND build : not include CONFIG_DEBUG_FS => Yes, because build SU first, so the script removes CONFIG_DEBUG_FS and not checkout it back, then SD/ND also without CONFIG_DEBUG_FS - clear all , SD/ND build -> SU build : include CONFIG_DEBUG_FS => No, SD/ND build first and have CONFIG_DEBUG_FS. Then when build SU, the script will still remove CONFIG_DEBUG_FS, so SU is still without CONFIG_DEBUG_FS. Thanks~ Sam |
|
|
Hi Sam I received the following patch from Amlogic =========================================================================================== 12/04 713e72bd539 memtrack: fix wrong GL mtrack on user version hardware/amlogic BPM-25650 =========================================================================================== Please apply the patch and check it the Graphics's value is displayed normally, ( ND/SD/SU ) Thank you YK.Jung |
|
|
Hi Sam Please update the progress Thank you YK.Jung |
|
|
Hi Younkwang, I fetch and git show 713e72bd539, but can't find the commit. Could you check with Amlogic? eagle12/hardware/amlogic$ git show 713e72bd539 fatal: ambiguous argument '713e72bd539': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git <command> [<revision>...] -- [<file>...]' Thanks~ Sam |
|
|
Hi Younkwang, Sorry, I find it, please forget it. |
|
|
Hi Younkwang, I test the patch: 2023-12-06 11:54:44 | fengchen.shen@amlo.. | 2dc84cc6 | hardware/amlogic | memtrack: fix wrong GL mtrack on user version [1/1] [ro.vendor_dlkm.build.version.incremental]: [15.537.73-20231206] But the Graphics value is still 0: Thanks~ Sam |
|
|
Hi Sam Can you share the SD/SU image with SoC test patch ? Thank you YK.Jung |
|
|
Hi Sam, I received improvement patch from Amlogic. In our side, it seems working well. Could you please check it your side that this patch is working? 2/04 713e72bd539 memtrack: fix wrong GL mtrack on user version hardware/amlogic BPM-25650 02/20 62c13ceb305 memtrack: fix crash issue hardware/amlogic BPM-25650 Thank you. Kim |
|
|
Hi JunGyu, I test in my side. The result is fine. It seems that commits are pushed to branch "BFX-AT100_5.4.2". Thanks~ Sam |
|
|
Hi Sam. Thank you for checking. I closet this issue. Kim |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2023-11-22 19:01 | (ALTech) Younkwang Jung | New Issue | |
| 2023-11-22 19:01 | (ALTech) Younkwang Jung | Status | new => assigned |
| 2023-11-22 19:01 | (ALTech) Younkwang Jung | Assigned To | => (SW) Jason Ling |
| 2023-11-22 19:01 | (ALTech) Younkwang Jung | File Added: k000c-534r204-20221222.PNG | |
| 2023-11-22 19:01 | (ALTech) Younkwang Jung | File Added: k000c-534r202-20221216.PNG | |
| 2023-11-22 19:02 | (ALTech) Younkwang Jung | Issue Monitored: (ALTech) SY Yoon | |
| 2023-11-22 19:02 | (ALTech) Younkwang Jung | Issue Monitored: (ALTech) JunGyu Kim | |
| 2023-11-23 08:03 | (ALTech) Younkwang Jung | Note Added: 0014602 | |
| 2023-11-23 08:12 |
|
Issue Monitored: (SW) Jacky Chiang | |
| 2023-11-23 08:12 |
|
Issue Monitored: (SW) Sam Yang | |
| 2023-11-23 08:12 |
|
Severity | s2-severe => s4-minor |
| 2023-11-23 15:22 |
|
Assigned To | (SW) Jason Ling => (SW) Sam Yang |
| 2023-11-23 16:41 | (ALTech) Younkwang Jung | Note Added: 0014609 | |
| 2023-11-24 09:14 | (ALTech) Younkwang Jung | Note Added: 0014616 | |
| 2023-11-27 08:57 | (ALTech) Younkwang Jung | Note Added: 0014626 | |
| 2023-11-27 10:14 | (ALTech) Younkwang Jung | Note Edited: 0014626 | View Revisions |
| 2023-11-27 11:45 | (SW) Sam Yang | Note Added: 0014629 | |
| 2023-11-27 11:45 | (SW) Sam Yang | File Added: image.png | |
| 2023-11-28 12:18 | (ALTech) Younkwang Jung | Note Added: 0014645 | |
| 2023-11-28 17:55 | (SW) Sam Yang | Note Added: 0014646 | |
| 2023-11-28 17:56 | (SW) Sam Yang | Assigned To | (SW) Sam Yang => (ALTech) Younkwang Jung |
| 2023-11-28 17:56 | (SW) Sam Yang | Status | assigned => feedback |
| 2023-11-29 13:52 | (SW) Sam Yang | Note Edited: 0014646 | |
| 2023-11-29 13:53 | (ALTech) Younkwang Jung | Note Added: 0014647 | |
| 2023-11-29 13:54 | (ALTech) Younkwang Jung | Note Edited: 0014647 | View Revisions |
| 2023-11-29 14:22 | (SW) Sam Yang | Note Added: 0014649 | |
| 2023-11-29 15:27 | (ALTech) Younkwang Jung | Note Added: 0014650 | |
| 2023-11-29 16:51 | (SW) Sam Yang | Note Added: 0014652 | |
| 2023-12-04 10:13 | (ALTech) Younkwang Jung | Note Added: 0014666 | |
| 2023-12-04 10:13 | (ALTech) Younkwang Jung | File Added: image-2.png | |
| 2023-12-05 12:03 | (ALTech) Younkwang Jung | Note Added: 0014668 | |
| 2023-12-06 11:29 | (SW) Sam Yang | Note Added: 0014673 | |
| 2023-12-06 11:29 | (SW) Sam Yang | Note Edited: 0014673 | |
| 2023-12-06 11:37 | (SW) Sam Yang | Note Added: 0014674 | |
| 2023-12-06 14:22 | (SW) Sam Yang | Note Added: 0014676 | |
| 2023-12-06 14:22 | (SW) Sam Yang | File Added: image-3.png | |
| 2024-01-05 09:43 | (ALTech) Younkwang Jung | Note Added: 0014875 | |
| 2024-02-22 10:08 | (ALTech) JunGyu Kim | Note Added: 0015171 | |
| 2024-02-22 10:08 | (ALTech) JunGyu Kim | File Added: image-4.png | |
| 2024-03-04 13:47 |
|
Assigned To | (ALTech) Younkwang Jung => (SW) Sam Yang |
| 2024-03-06 17:40 | (SW) Sam Yang | Note Added: 0015215 | |
| 2024-03-06 17:40 | (SW) Sam Yang | File Added: image-5.png | |
| 2024-03-06 17:41 | (SW) Sam Yang | Assigned To | (SW) Sam Yang => (ALTech) JunGyu Kim |
| 2024-03-06 17:41 | (SW) Sam Yang | Status | feedback => resolved |
| 2024-03-06 17:41 | (SW) Sam Yang | Resolution | open => fixed |
| 2024-03-07 08:25 | (ALTech) JunGyu Kim | Status | resolved => closed |
| 2024-03-07 08:25 | (ALTech) JunGyu Kim | Note Added: 0015217 |
.png)
.png)
.png)
.png)
.png)